t/h/L/vif-common.sh: fix handle_iptable return value
authorHans van Kranenburg <hans@knorrie.org>
Thu, 26 Nov 2020 15:06:03 +0000 (16:06 +0100)
committerRaspbian forward porter <root@raspbian.org>
Tue, 21 Sep 2021 18:53:21 +0000 (19:53 +0100)
commit831e93012c6137c27c91e6032ff5e23bacddaa28
treee9b0413036a161e9e9c6d3ecd273e621d80d5bf3
parent6d11f14dbe87ca9cf385158321682226ee91d441
t/h/L/vif-common.sh: fix handle_iptable return value

A return statement without explicit value will return the value of the
last command executed before this line with return was encountered.

This is not what we want. return 0.

Closes: #955994
Fixes: 2e0814f971dd ("vif-common: disable handle_iptable")
Reported-by: Samuel Thibault <sthibault@debian.org>
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
Gbp-Pq: Name 0026-t-h-L-vif-common.sh-fix-handle_iptable-return-value.patch
tools/hotplug/Linux/vif-common.sh